package com.um.jdy.app.charge.entity.dto;

import com.um.jdy.common.charge.enums.OrderEnum;
import com.um.jdy.common.member.enums.PayEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Title
 * @Description
 * @Author renjunwei
 * @Date 2023/2/16 14:09
 */
@Data
public class PBStartParam {

    @NotBlank
    @ApiModelProperty(value = "充电宝编码")
    private String code;

    @ApiModelProperty(value = "信用类型")
    private OrderEnum.CreditType creditType;

    @NotNull
    @ApiModelProperty(value = "押金支付方式(仅信用类型为押金时需要)")
    private PayEnum.PayWay depositPayWay;

    @NotNull
    @ApiModelProperty(value = "是否自动退押金(仅信用类型为押金时需要)")
    private Boolean depositAutoReturn;

}
